/*
 * Log_Mini.h
 *      Author: DePhille
 */

#ifndef LOG_MINI_H_
#define LOG_MINI_H_


// Mini log struct:
typedef struct {
	gchar*	fileName;
	time_t	lastChange;
} PC_MiniLog;

// Methods:
static PC_MiniLog*	PC_MiniLog_New(void);
static void			PC_MiniLog_Delete(PC_MiniLog* miniLog);
static void			PC_MiniLog_ScanDir(const gchar* path, GList** retList);
static gint			PC_MiniLog_CompareFunc(gconstpointer a, gconstpointer b);
static void			PC_MiniLog_Print(const GList* list);
static GList*		PC_MiniLog_Filter(GList** dbOnly, GList** fsOnly);
static gboolean		PC_MiniLog_HasChanged(PC_MiniLog* miniLog);

#endif /* LOG_MINI_H_ */
